package com.cn.bean.vo.Equipment;

import com.cn.bean.vo.PartsManagement.ComponentItemClassification;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class EquipmentStructure {
    private Integer ID;
    private int businessTypeID; //业务类型ID
    private String businessTypeName;//业务类型名称
    private String structureCode;//结构编码
    private String structureName;//结构名称
    private int versionStatus;//版本状态
    private String version;//版本
    private String majorVersion;//大版本号
    private String minorVersion;//中版本号
    private String revisionVersion;//小版本号
    private String description;//说明
    private int cID;
    private int M0ID;
    private int componentID;//零件ID
    private String componentName;//零件名称
    private int categoryID;//类别ID
    private String categoryName;//类别名称
    private int parentID;//上级ID
    private int level;//级次
    private int isLeaf;//是否末级
    private int isSplit;//是否分上下
    private int isSplitLeftRight;//是否分左右
    private String measurementUnit;//计量单位
    private int quantity;//数量
    private String replacementCycleMethod;//周期更换方式
    private BigDecimal cycleDays;//周期天数
    private BigDecimal replacementCycleDailyOutput;//周期单日定额产量
    private int partAttributes;//是否实体件
    private int upperCount;//上数量
    private int lowerCount;//下数量
    private int leftCount;//左数量
    private int rightCount;//右数量
    private int upperLeftCount;//上左数量
    private int upperRightCount;//上右数量
    private int lowerLeftCount;//下左数量
    private int lowerRightCount;//下右数量
    private String upperUnit;//上单位
    private String lowerUnit;//下单位
    private String leftUnit;//左单位
    private String rightUnit;//右单位
    private String upperLeftUnit;//上左单位
    private String upperRightUnit;//上右单位
    private String lowerLefUnit;//下左单位
    private int isComponent;//是否关键件
    private String levels;//层级

    private List<EquipmentStructure> children = new ArrayList<>();
    private List<EquipmentStructure> eqmList;
    //零件基础表

    //耗材类别
    private int consumableCategory;
    private List<ComponentBasicInformation> componentBasicInformationList;
    private List<ComponentStructureGroupComposition> componentStructureGroupCompositionsList;
    private List<EquipmentComponentMaterialMappingSetting> equipmentComponentMaterialMappingSettingList;
    //    零件属性表（componentCategoryTable）
    //    private int componentCategoryId;
    //    private String componentCategoryCode;
    //    private String componentCategoryName;
    //    private String componentCategoryDescription;
    private String label;
    private int total;
    private int page;
    private int limit;

    //零部件单件总数
    private int componentNumber;
    //去硬力
    private BigDecimal dehardening;


}
